import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
// 按需导入element-ui
import '@/plugins/element'
// filters
import '@/utils/filters'
// 全局CSS样式
import "@/assets/css/global.css"
// 导入树形表格组件
import ZKTable from 'vue-table-with-tree-grid'
// 导入富文本编辑器组件
import vueQuillEditor from 'vue-quill-editor'
// 导入富文本编辑器样式
import "quill/dist/quill.core.css"
import "quill/dist/quill.snow.css"
import "quill/dist/quill.bubble.css"
// 注册树形表格组件
Vue.component(ZKTable.name, ZKTable)
// 将富文本编辑器注册为全局组件
Vue.use(vueQuillEditor)

import request from '@/utils/request'
Vue.prototype.$http = request

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
